package com.hk.demo.player.http;

import com.zhoug.common.beans.BaseBean;

/**
 * 页面
 * @Author 35574
 * @Date 2020/8/5
 * @Description
 */
public class PagerInfo extends BaseBean {
    public static final String KEY="PagerInfo";
    public static final int DEF_PAGE_INDEX=1;
    public static final int DEF_PAGE_SIZE=50;
    private int PageIndex=DEF_PAGE_INDEX;
    private int PageSize=DEF_PAGE_SIZE;
    private int RowCount;
    private int TotalPages;
    private boolean isEnd;//最后一页了,没有更多数据了

    public PagerInfo() {
    }

    public PagerInfo(int pageIndex) {
        PageIndex = pageIndex;
    }

    public PagerInfo(int pageIndex, int pageSize) {
        PageIndex = pageIndex;
        PageSize = pageSize;
    }



    public int getPageIndex() {
        return PageIndex;
    }

    public void setPageIndex(int PageIndex) {
        this.PageIndex = PageIndex;
    }

    public int getPageSize() {
        return PageSize;
    }

    public void setPageSize(int PageSize) {
        this.PageSize = PageSize;
    }

    public int getRowCount() {
        return RowCount;
    }

    public void setRowCount(int RowCount) {
        this.RowCount = RowCount;
    }

    public int getTotalPages() {
        return TotalPages;
    }

    public void setTotalPages(int TotalPages) {
        this.TotalPages = TotalPages;
    }

    public boolean isEnd() {
        return isEnd;
    }

    public void setEnd(boolean end) {
        isEnd = end;
    }
}

